| ID | Note | Highlight |
|---|---|---|
| {{ hl.id }} | {% if hl.note != None %} {% else %} {% endif %} | {{ hl.text }} |
{% set rows = sql("select * from highlight where book_id = :id", {"id": id}) %} {% if not rows %} {{ raise_404("Book not found") }} {% endif %}
| ID | Note | Highlight |
|---|---|---|
| {{ hl.id }} | {% if hl.note != None %} {% else %} {% endif %} | {{ hl.text }} |